/**
 * Created by 94513 on 2017/4/8.
 */
// <script src="a.js"></script>
// <script src="b.js"></script>
// <script src="c.js"></script>
var c = 0;
function printIt() {
    console.log(c);
}

function plus(callback) {
    setTimeout(function () {
        c += 1;
        callback();
    }, 1000);
}

plus(printIt);
